<?php

class Cases_IndexController extends Koncept_Rest_Resource_Controller
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function getAction()
    {
        $case = new Cases_Model_Case;
        $case->id = '1612129932';
        $case->Owner->username = 'jakob.kobberholm';
        $case->Creator->username = 'joakim.saettem';
        //echo $case->save();
        var_dump(Doctrine_Core::getTable('Cases_Model_User'));
        $result = Doctrine_Core::getTable('Cases_Model_User')->findAll();;
        var_dump($result);
    }

    public function postAction()
    {
        // action body
    }

    public function putAction()
    {
        // action body
    }

    public function deleteAction()
    {
        // action body
    }


}









